<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新经资讯后台管理</title>
    <link rel="stylesheet" type="text/css" href="../../static/admin/css/reset.css">
    <link rel="stylesheet" type="text/css" href="../../static/admin/css/main.css">
    <link rel="stylesheet" href="../../static/admin/css/jquery.pagination.css">
</head>
<body>
<div class="breadcrub">
    当前位置：新闻管理>新闻审核
    <form class="news_filter_form">
        <input type="text" placeholder="请输入关键字" class="input_txt" name="keyword" value="">
        <input type="button" value="搜 索" class="input_sub">
    </form>
</div>
<div class="pannel">
    <table class="common_table">
        <tr>
            <th width="5%" style="font-size: 24px">ID</th>
            <th width="30%" style="font-size: 24px">标题</th>
            <th width="20%" style="font-size: 24px">发布时间</th>
            <th width="15%" style="font-size: 24px">状态</th>
            <th width="15%" style="font-size: 24px">失败原因</th>
            <th width="15%" style="font-size: 24px">管理操作</th>
        </tr>

        {% for news in newslist %}
            <tr>
                <td style="font-size: 18px"><b>{{ news.id }}</b></td>
                <td style="font-size: 18px"><b>{{ news.title }}</b></td>
                <td style="font-size: 18px"><b>{{ news.created }}</b></td>

                <td style="font-size: 18px">
                    {% if news.status ==0 %}
                        <b>未审核</b>
                    {% elif news.status ==1 %}
                        审核中</b>
                    {% elif news.status ==2 %}
                        <b>已通过</b>
                    {% else %}
                        <b>未通过</b>
                    {% endif %}
                </td>

                <td style="font-size: 18px"><b></b></td>
                <td style="font-size: 18px"><a href="/admin/detail?id={{ news.id }}" class="review"><b>审核</b></a></td>
            </tr>
        {% endfor %}
    </table>
</div>
<div id='pagination'>

</div>
</body>
</html>